package com.atguigu.gulimail.product.feign;

import com.atguigu.common.to.SkuReductionTo;
import com.atguigu.common.to.SpuBoundTo;
import com.atguigu.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author fangy
 * @date 2022-09-13 11:24
 */
@FeignClient("gulimail-coupon")
public interface couponFeignService {


    @RequestMapping("coupon/spubounds/save")
    R saveSpuBounds(@RequestBody SpuBoundTo spuBounds);

    @RequestMapping("coupon/skufullreduction/saveSkuReduction")
    R saveSkuReduction(@RequestBody SkuReductionTo skuReductionTo);
}
